#include "BoundingCylinder.h"

namespace coolpool
{
	BoundingCylinder::BoundingCylinder()
	{
		center_ << 0.0, 0.0;
		radius_ = 0.0;
	}

	BoundingCylinder::BoundingCylinder(const Eigen::Vector2d & center, double radius)
	{
		center_ = center;
		radius_ = radius;
	}

	BoundingCylinder::~BoundingCylinder()
	{
	}

	// Getters:
	const Eigen::Vector2d & BoundingCylinder::getCenter() const
	{
		return center_;
	}

	double BoundingCylinder::getRadius() const
	{
		return radius_;
	}

	// Setters
	void BoundingCylinder::setCenter(const Eigen::Vector2d & center)
	{
		center_ = center;
	}

	void BoundingCylinder::setRadius(double radius)
	{
		radius_ = radius;
	}
}
